import { RouteRecordRaw } from 'vue-router';
const routes: RouteRecordRaw[] = [
    {
        path: '/school',
        name: 'school',
        component: () => import('~/views/school/home/index.vue'),
    },
    {
        path: '/school/category/:id(\\d+)?',
        name: 'school-category',
        component: () => import('~/views/school/category/index.vue'),
    },
    {
        path: '/school/:id(\\d+)',
        name: 'school-detail',
        component: () => import('~/views/school/detail/index.vue'),
    }
];
export default routes;